﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="Stylesheet" type="text/css" media="screen" href="Screen.css" />
  <title>STP_GetMstConfigTableDigest</title>
</head>
<body>
	<h3>STP_GetMstConfigTableDigest</h3>
	<hr />
<pre>
const unsigned char* STP_GetMstConfigTableDigest (BRIDGE* bridge);
</pre>
	<h4>
		Summary</h4>
	<p>
		Gets a pointer to the Digest field of the MST Configuration Identifier.
		</p>
	<h4>
		Parameters</h4>
	<dl>
		<dt>bridge</dt>
		<dd>Pointer to a BRIDGE object.</dd>
	</dl>
	<h4>
		Return value</h4>
		<dl>
		<dd>A pointer to a 16-byte long array of bytes containing the Configuration Digest currently 
			in use.</dd>
		</dl>
	<h4>
		Remarks</h4>
		<p>
			This function may be called only for MSTP bridges (i.e., if <code>STP_VERSION_MSTP</code> was passed 
			to <a href="STP_CreateBridge.html">STP_CreateBridge</a> or
			<a href="STP_SetStpVersion.html">STP_SetStpVersion</a>).</p>
	<p>
		See §13.7 in 802.1Q-2011 for more information about the MST Configuration Identifier.</p>
	<p>
		The Configuration Digest is initialized by STP_CreateBridge, and recomputed whenever
		<a href="STP_SetMstConfigTableAndComputeDigest.html">STP_SetMstConfigTableAndComputeDigest</a> 
		or <a href="STP_SetMstConfigTableAndComputeDigest1.html">
		STP_SetMstConfigTableAndComputeDigest1</a> are called.</p>
	<p>
		It is allowed to call this function from within an <a href="STP_CALLBACKS.html">STP callback</a>.</p>
	
</body>
</html>
